-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[FLINK-38840][postgres] Postgres YAML connector supports emitting complete Table ID #4209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@yuxiqian PTAL |
…plete Table ID [FLINK-38840][postgres] Postgres YAML connector supports emitting complete Table ID [FLINK-38840][postgres] Postgres YAML connector supports emitting complete Table ID [FLINK-38840][postgres] Postgres YAML connector supports emitting complete Table ID
I'm a little concerned about changing default Table ID format. It may affect transform & route table matching rules and schema registry states where Table IDs are used as key. |
We still need to control the output of the full tableID through configuration to ensure that it is compatible with production |
yuxiqian
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM. Would @loserwang1024 like to take another look?
...rc/test/java/org/apache/flink/cdc/connectors/postgres/source/PostgresPipelineITCaseTest.java
Outdated
Show resolved
Hide resolved
|
@loserwang1024 PTLK |
|
LGTM |
Currently, Postgres YAML connector maps (schema, table) as Pipeline event Table ID, and the database part is missing.
We may add a new option to generate complete Table ID (database, schema, table). This could be useful when records are written into Kafka as JSON messages.